package com.cpi.basilos.silo.dto;

import java.io.Serializable;
import java.util.Calendar;

import com.cpi.basilos.corntype.dto.CornTypeDTO;

public class SiloDTO implements Serializable {
	private static final long serialVersionUID = 3548978328833280294L;
	public static final byte ENTRY = 1;
	public static final byte OUTPUT = 2;
	private byte type;
	private Calendar date;
	private String location;
	private CornTypeDTO cornTypeDTO;
	private double amount;
	public byte getType() {
		return type;
	}
	public void setType(byte type) {
		this.type = type;
	}
	public Calendar getDate() {
		return date;
	}
	public void setDate(Calendar date) {
		this.date = date;
	}
	public String getLocation() {
		return location;
	}
	public void setLocation(String location) {
		this.location = location;
	}
	public CornTypeDTO getCornTypeDTO() {
		return cornTypeDTO;
	}
	public void setCornTypeDTO(CornTypeDTO cornTypeDTO) {
		this.cornTypeDTO = cornTypeDTO;
	}
	public double getAmount() {
		return amount;
	}
	public void setAmount(double amount) {
		this.amount = amount;
	}
}
